package com.ruoyi.project.system.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 密钥管理对象 sys_app_key
 * 
 * @author ruoyi
 * @date 2020-04-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_app_key")
public class SysAppKey
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long appId;

    /** 应用类型 */
    @Excel(name = "应用类型")
    private String appType;

    /** 应用Key */
    @Excel(name = "应用Key")
    private String appKey;

    /** 应用秘钥 */
    @Excel(name = "应用秘钥")
    private String appSecret;

    /** 是否开启 */
    @Excel(name = "是否开启")
    private String isOpen;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("appId", getAppId())
            .append("appType", getAppType())
            .append("appKey", getAppKey())
            .append("appSecret", getAppSecret())
            .append("isOpen", getIsOpen())
            .toString();
    }
}
